Repository navigation
chore: clean up repository root - #128
Merged
Merged
Conversation
- Stop tracking .vscode/. It was already listed in .gitignore, but gitignore does not apply to files that are already tracked, which is why it survived. settings.json also pointed at a Windows virtualenv path (./.venv/Scripts/python.exe) that is wrong for most contributors. The directory stays on disk locally; it is simply no longer shared. - Remove MANIFEST.in. It is a setuptools file and this project builds with hatchling, which ignores it entirely. All four of its patterns referenced directories that no longer exist (pytheranostics/kernels, pytheranostics/isotope_data), and one of them included *.dcm, which contradicts the no-medical-image policy. Package data is already handled by [tool.hatch.build] include in pyproject.toml; building before and after produces identical artifacts. - Add .DS_Store and related macOS/editor cruft to .gitignore, which was missing them.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Removes files from the repository root that should not be version controlled.
.vscode/— untracked.vscodeis already listed in.gitignore(line 133), but gitignore has no effect on files that are already tracked, which is why it survived.git rm -r --cachedfixes that.It also held personal settings rather than shared ones —
settings.jsonpointed at./.venv/Scripts/python.exe, a Windows path that is wrong for macOS and Linux contributors. The directory stays on disk for whoever has it; it is just no longer shared.MANIFEST.in— removedDead twice over:
build-backend = "hatchling.build"), which ignoresMANIFEST.incompletely.pytheranostics/kernels/andpytheranostics/isotope_data/. Zero tracked files match.It also contained
include pytheranostics/kernels/*.dcm, which directly contradicts the no-medical-image policy added in #126.Package data is already handled by
[tool.hatch.build] include = ["pytheranostics/data/**/*"].Verified by building before and after: wheel and sdist both build, contain 0 DICOM files, and still ship all 33
pytheranostics/data/files..gitignoreAdded
.DS_Storeand related macOS/editor cruft, which were missing — a stray.DS_Storewas sitting untracked in the root.Deliberately kept
workflows/— not a stray copy of.github/workflows. Its README documents it as task-oriented notebooks for running on local data, distinct from the docs tutorials.setup.cfg— holds the flake8 config, which cannot live inpyproject.toml.setup_dev.py— referenced byCONTRIBUTING.md.CHANGES.md— the real changelog, referenced byCONTRIBUTING.md.Noted, not changed
docs/source/changelog.rstis an empty stub (just a title), so the published docs render a blank Changelog page whileCHANGES.mdholds the actual content. Worth wiring together separately.